#ifndef _SQLCONNPOOL_C_H
#define _SQLCONNPOOL_C_H

#include <mysql/mysql.h>
    #ifdef __cplusplus
    extern "C"{
    #endif

    extern void ConnPool_Init(const char* host, int port, const char* user, const char* pwd, const char* dbName, int connSize);
    extern MYSQL* GetConn();
    extern void FreeConn(MYSQL* conn);
    extern void ClosePool();

    #ifdef __cplusplus
    }
    #endif

#endif